<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sunyu Bus Booking System - Add User</title>
</head>
<body>
<%
	String msg = (String)request.getAttribute("msg");
	if (msg != null && msg != "") {
		out.print("<font color='red'>" + msg + "</font> <br>");
	}
%>
<form action="AdminAddUserProc.do">	
	Please fill up the new user information: <br>
	User Name<input type="text" name="user_id" size="20px"> <br>
	Password<input type="password" name="user_password" size="20px"> <br>
	Confirm Password<input type="password" name="user_confirm_password" size="20px"> <br>
	User Type
	<select name="user_type">
  		<option value="teacher">Teacher</option>
  		<option value="student">Student</option>
	</select> <br>
	<input type="submit" value="Add User">						
</form>
<br>
<a href="AdminMainPage.jsp">Back to main admin page</a>
</body>
</html>